package com.ruoyi.project.inspection.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 车辆年检预约订单对象 vi_vehicle_order
 * 
 * @author ruoyi
 * @date 2020-07-17
 */
public class ViVehicleOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 价格 */
    @Excel(name = "价格")
    private Double price;

    /** 下单id */
    @Excel(name = "下单id")
    private Long ownerId;

    /** 客服ID */
    @Excel(name = "客服ID")
    private Long userId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long deptId;

    /** 车辆信息id */
    @Excel(name = "车辆信息id")
    private Long vehicleId;

    /** 车辆类型id */
    @Excel(name = "车辆类型id")
    private Long vehicleTypeId;

    /** 订单状态：0下单未支付，1下单已支付，2订单已核销，3申请退款，4退款成功，5订单已取消 */
    @Excel(name = "订单状态：0下单未支付，1下单已支付，2订单已核销，3申请退款，4退款成功，5订单已取消")
    private Integer orderState;

    /** 支付状态：0未支付，1已支付，2已退款 */
    @Excel(name = "支付状态：0未支付，1已支付，2已退款")
    private Integer payState;

    /** 核销码 */
    @Excel(name = "核销码")
    private String verificationCode;

    /** 订单联系人电话（忘记核销码后可用手机号码核销） */
    @Excel(name = "订单联系人电话", readConverterExp = "忘=记核销码后可用手机号码核销")
    private String phone;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 修改备注 */
    @Excel(name = "修改备注")
    private String modifyRemark;

    /** 修改人ID */
    @Excel(name = "修改人ID")
    private Long modifyId;

    /** 预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveTime;

    /** 是否上门服务,0不上门，1上门 */
    @Excel(name = "是否上门服务,0不上门，1上门")
    private String serviceDoor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrice(Double price) 
    {
        this.price = price;
    }

    public Double getPrice() 
    {
        return price;
    }
    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setVehicleTypeId(Long vehicleTypeId) 
    {
        this.vehicleTypeId = vehicleTypeId;
    }

    public Long getVehicleTypeId() 
    {
        return vehicleTypeId;
    }
    public void setOrderState(Integer orderState) 
    {
        this.orderState = orderState;
    }

    public Integer getOrderState() 
    {
        return orderState;
    }
    public void setPayState(Integer payState) 
    {
        this.payState = payState;
    }

    public Integer getPayState() 
    {
        return payState;
    }
    public void setVerificationCode(String verificationCode) 
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode() 
    {
        return verificationCode;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }
    public void setModifyRemark(String modifyRemark) 
    {
        this.modifyRemark = modifyRemark;
    }

    public String getModifyRemark() 
    {
        return modifyRemark;
    }
    public void setModifyId(Long modifyId) 
    {
        this.modifyId = modifyId;
    }

    public Long getModifyId() 
    {
        return modifyId;
    }
    public void setReserveTime(Date reserveTime) 
    {
        this.reserveTime = reserveTime;
    }

    public Date getReserveTime() 
    {
        return reserveTime;
    }
    public void setServiceDoor(String serviceDoor) 
    {
        this.serviceDoor = serviceDoor;
    }

    public String getServiceDoor() 
    {
        return serviceDoor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("price", getPrice())
            .append("ownerId", getOwnerId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("remark", getRemark())
            .append("vehicleId", getVehicleId())
            .append("vehicleTypeId", getVehicleTypeId())
            .append("orderState", getOrderState())
            .append("payState", getPayState())
            .append("verificationCode", getVerificationCode())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
            .append("modifyTime", getModifyTime())
            .append("modifyRemark", getModifyRemark())
            .append("modifyId", getModifyId())
            .append("reserveTime", getReserveTime())
            .append("serviceDoor", getServiceDoor())
            .toString();
    }
}
